package com.by.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@ApiModel("品牌分类关联信息")
@TableName("category_brand")
public class CategoryBrand {
    @TableId(value = "id",type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;
    /**
     * 品牌id
     */
    @ApiModelProperty(value = "品牌id")
    private int brandId;
    /**
     * 分类id
     */
    @ApiModelProperty(value = "分类id")
    private int categoryId;
}
